package models

import (
	"github.com/liyaozong/mengo/common/db"
)

type Role struct {
	db.Model
	Name        string       `json:"name"`
	Describe    string       `json:"describe"`
	Status      int          `json:"status"`
	Permissions []Permission `json:"permissions" gorm:"foreignKey:RoleId;references:Id"`
}
